package com.me.jingdongshop.ui.adapter;


import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.ViewGroup;

import com.me.common.ui.BaseAdapterRV;
import com.me.common.ui.BaseHolderRV;
import com.me.jingdongshop.model.bean.Category;
import com.me.jingdongshop.ui.holder.GoodsCategoryHolder;

import java.util.List;

/**
 * Created by Tm on 2017/4/28.
 */

public class GoodsCategoryAdapter extends BaseAdapterRV<Category.CategoryBean> {

    public GoodsCategoryHolder mHolder;



    public GoodsCategoryAdapter(Context context, List<Category.CategoryBean> listData) {
        super(context, listData);
    }

    @Override
    public BaseHolderRV<Category.CategoryBean> createViewHolder(Context context, ViewGroup parent, int viewType) {
        mHolder = new GoodsCategoryHolder(context,parent,this,viewType);
        return mHolder;

    }

}
